<%--
 - Copyright (c) 2009-2011 ETCORE Labs. All rights reserved. 
 - 
 - This software is the confidential and proprietary information of ETCORE Labs. 
 - You shall not disclose such confidential information and shall use it only
 - in accordance with the terms of the license agreement you entered into
 - with ETCORE Labs.
 -
 - Support can be obtained from support forums at:
 - http://www.etcore.com/
 -
 - @author: ETCORE GroupTalk developers
 -
 --%>
<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ taglib uri="http://jakarta.apache.org/taglibs/core" prefix="c"%>
<%@ taglib uri="http://www.etcore.com/grouptalk" prefix="grouptalk"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" href="/group/css/styles.css" type="text/css">
<script>
function  showServerSubmenu(){
	var serversubmenuFrame=document.getElementById("serversubmenu"); 
	serversubmenuFrame.style.display =  "" ;  
 
	
}
function  hideServerSubmenu(){
	var serversubmenuFrame=document.getElementById("serversubmenu"); 
	serversubmenuFrame.style.display =  "none" ;  
 
	
}
</script>
 </head>
 <body>

 <c:set var="platform" value="platform${param.currentPlatform}" />  
 <c:if test="${group.open==1&&group.nav==1 }"><c:set var="platform" value="nav1" />  </c:if>
  <c:if test="${group.open==2&&group.nav==1 }"><c:set var="platform" value="nav2" />  </c:if>
 <c:set var="currentGroups" value="groups" /> 
 <c:set var="currentViewer" value="groupdetail" />
 <c:if test="${param.currentPlatform==3}">
 <c:set var="currentViewer" value="bookmarksadmin" />
 </c:if> 
<div onmouseover="showServerSubmenu()" onmouseout="hideServerSubmenu()" >
 
 
	 <a  style="font-weight:bold"
					href="/group/groupadmin<c:out value='${context.postfix }'/>?open=<c:out value='${param.currentPlatform}'/>&nav=<c:out value='${group.nav }' />"><img src="/group/images/ref.gif" border=0/><c:out value='${context[platform]}' /></a>
	 

	 	<div id=serversubmenu
					style="display: none; position: absolute;  padding: 0px; border: 1px solid #b4d2d4; background-color: white; overflow: auto;">

				<table cellspacing=10 border=0 >
				<c:set var="colCount" value="0"/> 
				<c:forEach var="currentGroup" items="${requestScope[currentGroups]}">
				<c:if test="${colCount%5==0 }" ><tr></c:if>
				<td   align=left nowrap  >				 
						<img src="/group/images/dot.gif" border=0><a
							href="/group/<c:out value='${currentViewer}'/><c:out value='${context.postfix}'/>?id=<c:out value='${currentGroup.id }'/>"><font color=black><c:if test="${currentGroup.id==group.id }"><font color=red><b></c:if><c:out
							value='${currentGroup.name }' /><c:if test="${currentGroup.id==group.id }"></b></font></c:if></font></a>
				 
 
					</td>
					<c:if test="${colCount%5==4 }" ></tr></c:if>
					<c:set var="colCount" value="${colCount+1 }"/> 
				</c:forEach></table></div> 
				 
</div>
</BODY></HTML>
